hi_add_subdirectory(tensor)
hi_add_subdirectory(version)

hi_cc_library_static(
  NAME
    ai::fmk::util::base_types_static
  SRCS
    hiai_base_types.c
  COPTS
    -frtti
    -dl
)

hi_cc_library_static(
  NAME
    ai::fmk::util::native_handle_static
  INCS
    ${ROOT_DIR}/third_party/cutils/
  SRCS
    native_handle_creator.cpp
  CDEFS
    HIAI_UTIL_API_VISIABLE
)

hi_cc_library_static(
  NAME
    ai::fmk::util::file_static
  SRCS
    file_util.cpp
  CDEFS
    HIAI_UTIL_API_VISIABLE
)

hi_cc_library_static(
  NAME
    ai::fmk::util::dl_helper_static
  SRCS
    hiai_foundation_dl_helper.c
  CDEFS
    HIAI_C_API_VISIABLE
)

hi_cc_library_static(
  NAME
    ai::fmk::util::model_type_util_static
  SRCS
    model_type_util.cpp
)
